package com.android.youwenchuang.presenter;

import com.android.youwenchuang.App;
import com.android.youwenchuang.base.IPresenter;
import com.android.youwenchuang.bean.Circle;
import com.android.youwenchuang.gen.CircleDao;

import java.util.List;

public class CirclePresenter implements IPresenter {

    public List<Circle> getList() {
        return App.mApp.getDaoSession().getCircleDao().queryBuilder().orderDesc(CircleDao.Properties.Date).list();
    }
}
